package org.sifebint.backend.services.datasources;

import java.util.List;

import javax.sql.DataSource;

import org.sifebint.backend.model.DataSourceDescription;

public interface DataSourceService {
  
  DataSource getDataSource(long id);
  
  List<DataSourceDescription> getDataSourcesDescriptions();
  
  List<String> getJdbcDriversList();
  
  void updateDataSourceDescription(DataSourceDescription dataSourceDescription);
  
  void createDataSourceDescription(DataSourceDescription dataSourceDescription);
  
  void removeDataSourceDescription(long dataSourceDescriptionId);
  
}
